package raytracer.objects;

import raytracer.misc.*;
import raytracer.math.*;

public abstract class SpaceStructure {
	
	public ThreeDObject intersect(Ray ray) {
		return intersect(ray,null,null);
	}
	
	public abstract ThreeDObject intersect(Ray ray, Vector3d intersectionPoint, Vector3d normal);
	
}
